package com.ysd.entity;

public class NewsCategory {
	private int newsCategoryId;
	private String newsCategoryName;
	
	public int getNewsCategoryId() {
		return newsCategoryId;
	}
	public void setNewsCategoryId(int newsCategoryId) {
		this.newsCategoryId = newsCategoryId;
	}
	public String getNewsCategoryName() {
		return newsCategoryName;
	}
	public void setNewsCategoryName(String newsCategoryName) {
		this.newsCategoryName = newsCategoryName;
	}
	public NewsCategory(int newsCategoryId, String newsCategoryName) {
		super();
		this.newsCategoryId = newsCategoryId;
		this.newsCategoryName = newsCategoryName;
	}
	public NewsCategory() {
		super();
	}
	@Override
	public String toString() {
		return "NewsCategory [newsCategoryId=" + newsCategoryId + ", newsCategoryName=" + newsCategoryName + "]";
	}
	
	
}
